package ch3;

public class R {

	public static void main(String[] args) {
		// 获得随机数
		int d = (int) (10 * Math.random());
		System.out.println(d);
	}

}
